package com.icetech.eom.controller.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value="角色添加/编辑", description="角色添加/编辑对象")
public class RoleVo {
    @ApiModelProperty(value = "唯一标识")
    private Long id;

    @ApiModelProperty(value = "角色名 以ROLE_开头")
    private String name;

    @ApiModelProperty(value = "是否为注册默认角色")
    private Boolean defaultRole;

    @ApiModelProperty(value = "备注")
    private String description;

    @ApiModelProperty(value = "权限列表ids")
    private List<Long> permissionIds;
}

